package Generricity;

import java.util.ArrayList;

public class MyArrayList<E> {
    private ArrayList list = new ArrayList<E>();
    public void add(E e){
        list.add(e);
    }

    public void remove(int index){
        list.remove(index);
    }
    public int size(){
        return list.size();
    }
    @Override
    public String toString(){
        return list.toString();
    }


}
